$(function () {

    tocbot.init({
        /*toc占位*/
        tocSelector: '#placeholder-toc',
        /*文章内容*/
        contentSelector: '.toc-content',
        /*哪些元素*/
        headingSelector: 'h1, h2, h3',
    })

    $('#doc-btn').popup({
        popup: $('#placeholder-doc-div'),
        on: 'click',
        position: 'left center'
    })


})